package com.cskaoyan.mapper;

import com.cskaoyan.bean.Region;
import com.cskaoyan.bean.RegionExample;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author 
 * @date 2020/12/5 15:21
 */
@Component
@Mapper
public interface RegionMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Region record);

    int insertSelective(Region record);

    Region selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Region record);

    int updateByPrimaryKey(Region record);

    List<Region> selectByExample(RegionExample regionExample);

}